<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
		<meta content="yes" name="apple-mobile-web-app-capable" />
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no" name="format-detection" />
		<meta content="emai=no" name="format-detection" />
		<link rel="stylesheet" type="text/css" href="/wc/css/common.css" />
		<link rel="stylesheet" type="text/css" href="/wc/css/detail.css" />
		<script type="text/javascript" src="/wc/js/jquery-1.11.2.min.js"></script>
		<script type="text/javascript" src="/wc/js/underscore.js"></script>
		<script type="text/javascript" src="/wc/js/pinchzoom.js"></script>
		<script async="" charset="UTF-8" src="//static.meiqia.com/dist/meiqia.js?v=17"></script>
		<title>芝士妈妈在线</title>
		<script type="text/javascript">
			(function(m, ei, q, i, a, j, s) {
				m[a] = m[a] || function() {
					(m[a].a = m[a].a || []).push(arguments)
				};
				j = ei.createElement(q),
					s = ei.getElementsByTagName(q)[0];
				j.async = true;
				j.charset = 'UTF-8';
				j.src = i + '?v=' + new Date().getUTCDate();
				s.parentNode.insertBefore(j, s);
			})(window, document, 'script', '//static.meiqia.com/dist/meiqia.js', '_MEIQIA');
			_MEIQIA('entId', '20405');
			_MEIQIA('withoutBtn');
			_MEIQIA('init');
		</script>
	</head>

	<body>
		<header>
			<input type="hidden" id="edc" value="<?php echo $row['childbirth_date']?>" ／>
			<img class="fullScreen" src="/wc/img/d_notice.png" />
			<p>
                <?php
                if( ((strtotime($row['childbirth_date']) - 24*60*60*280) <= strtotime(date("Y-m-d"))) &&( strtotime($row['childbirth_date']) > strtotime(date("Y-m-d")))){
                    echo '无创检测的最佳检测周期是孕12-26周，<br/> 根据您填写的预产期，目前应处于孕<span id="week"></span>周，
                    <br/> 建议<span id="minDate"></span>至<span id="maxDate"></span>期间
                    <br/> 前往以下地点采血检测。';
                }
                ?>
			</p>
		</header>
		<div class="wrapper">
			<section class="flex-wrapper">
				<label>预约采血点：</label>
				<p class="flex-1">
					<?php echo $bpointData['name']?>
				</p>
			</section>
			<section class="flex-wrapper">
				<label>就诊时间：</label>
				<p class="flex-1">
                    <?php echo $bpointData['visit_remark']?>
				</p>
			</section>
			<section class="flex-wrapper">
				<label>地址：</label>
				<p class="flex-1">
					<?php echo $bpointData['address']?>
				</p>
			</section>
			<section class="flex-wrapper">
				<label>交通：</label>
				<p class="flex-1">
					<?php echo $bpointData['route']?>
				</p>
			</section>
			<section class="flex-wrapper">
				<label>联系人：</label>
				<p class="flex-1">
					<?php foreach($staffData as $value) {
						echo $value['real_name'].$value['mobile'].'<br/>';
					}?>
				</p>
			</section>
		</div>
		<img class="address" src="<?php echo STATIC_IMAGE . $bpointData['route_img']?>" />
		<div class="help">
		<ul class="flex-wrapper flex-pack-justify">
			<li>
				<a href="javascript:void(0)" onclick="_MEIQIA('showPanel')"><img src="/wc/img/d_online.png"></a>
			</li>
			<li>
				<a href="tel:4008210418"><img src="/wc/img/d_phone.png"></a>
			</li>
		</ul>
		</div>
		<footer>
			<ul>
				<li>
					<a href="/booking/index" class="btn btn-orange"><span class="icon icon-home"></span>首 页</a>
				</li>
				<li>
					<a id="showMap" class="btn btn-green"><span class="icon icon-blood"></span>采 血 点</a>
				</li>
				<li>
					<a href="/booking/mine" class="btn btn-red"><span class="icon icon-test"></span>我的检测</a>
				</li>
			</ul>
		</footer>
		<div class="hide popup-map">
			<div class="pinch-zoom">
				<img src="/wc/img/map.jpg" alt="" />
			</div>
		</div>
		<script src="/wc/js/common.js" type="text/javascript"></script>
		<script src="/wc/js/detail.js" type="text/javascript"></script>
	</body>

</html>